using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using NRepository.MongoDb.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NRepository.MongoDb3.Tests
{
    [CollectionName("Customers")]
    public partial class Customer
    {
        public Customer()
        {
            this.Orders = new List<Order>();
        }

        [BsonId]
        public string CustomerID { get; set; }
        public string CompanyName { get; set; }
        public string ContactName { get; set; }
        public string ContactTitle { get; set; }
        public string Address { get; set; }
        public string City { get; set; }
        public string Region { get; set; }
        public string PostalCode { get; set; }
        public string Country { get; set; }
        public string Phone { get; set; }
        public string Fax { get; set; }
        public virtual ICollection<Order> Orders { get; set; }

    }
}
